$(function() {
	$(".btn_login").click(function() {
		console.log(1); //不熟悉的情况下
		//获取输入框的内容
		let account = $("input[name='account']").val();
		let password = $("input[name='password']").val();
		if (account.trim().length === 0) {
			alert("请输入账号");
			return;
		}

		if (account.trim() === "admin" && password.trim() === "123") {
			location.href = "index.html";
		}
	});
});
